#include <stdio.h>
int main(void)
{
	int i = 0;
	int j = 0;
	int temp = 0;
	int arr[9] = { 9,7,5,4,8,6,2,1,3};
	int len = sizeof(arr) / sizeof(arr[0]);
	for (i = 0; i < len -1 ; i++)
	{
		for (j = 0; j < len - i - 1; j++)
		{
			if (arr[j] < arr[j+1])
			{
				temp = arr[j];
				arr[j] = arr[j+1];
				arr[j+1] = temp;
			}
		}
		
	}
	for (i = 0; i < 9; i++)
	{
		printf("%d", arr[i]);
	}
	return 0;
}